package itsm.isperp.module.repository.bpm;

import itsm.isperp.framework.data.mybatis.dao.CUDMapper;
import itsm.isperp.module.entity.bpm.BpmProcessSetting;
import itsm.isperp.module.entity.db.DbEntity;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 
 * 
 * 
 * @author lizx
 * @date 2013-6-13
 * 
 */
@Repository
public interface BpmProcessSettingMapper extends CUDMapper<BpmProcessSetting> {

	public List<DbEntity> findProcessDbEntityList();

	public List<DbEntity> findProcessDbForSlmEntityList();

	public DbEntity findDbEntityByKey(@Param("processKey") String processKey);

	public String findDbEntityIdByKey(@Param("processKey") String processKey);

	List<Map<String, Object>> findDbEntityColumnByProcDefKey(
			@Param("processKey") String processKey);
}
